package cn.hhy.hrm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/*
@SpringBootApplication
@EnableDiscoveryClient
@EnableCircuitBreaker
 */
@SpringCloudApplication//=SpringBootApplication+EnableDiscoveryClient+EnableCircuitBreaker
@MapperScan("cn.hhy.hrm.mapper")
@EnableCaching //启用spring cache缓存
@EnableFeignClients
public class CourseStart4040 {
    public static void main(String[] args) {
        SpringApplication.run(CourseStart4040.class,args);
    }
}
